package com.github.thinwonton.springboot.showcase.webservice.ws.impl;

import com.github.thinwonton.springboot.showcase.webservice.ws.CountService;
import org.springframework.stereotype.Service;

import javax.jws.WebService;

@WebService(serviceName = "CountService",
        targetNamespace = "thinwonton.github.com",
        endpointInterface = "com.github.thinwonton.springboot.showcase.webservice.ws.CountService")
@Service
public class CountServiceImpl implements CountService {
    @Override
    public int getCount(int source) {
        return 100 + source;
    }
}
